package com.yx.accountBook.user.vo;

import com.yx.accountBook.user.domain.User;

import java.util.List;

/**
 * Created by liukailong on 2017/3/7.
 */
public class UserVo extends User{

    private Long id;

    private Long userId;

    private String name;

    private String account;

    private String remark;

    private String tel;

    private String userPhoto;

    private Long role;//角色 1：管理员 2：录入员 3：审核员

    private List<String> subjectIds;

    private List<Profession> professions;

    public List<String> getSubjectIds() {
        return subjectIds;
    }

    public void setSubjectIds(List<String> subjectIds) {
        this.subjectIds = subjectIds;
    }

    public UserVo(){

    }

    public UserVo(Long id, Long userId, String name, String account,Long role,List<String> subjectIds,String remark,String tel,String userPhoto) {
        this.id = id;
        this.userId = userId;
        this.name = name;
        this.account = account;
        this.role = role;
        this.subjectIds = subjectIds;
        this.remark = remark;
        this.tel = tel;
        this.userPhoto = userPhoto;
    }

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getAccount() {
        return account;
    }

    @Override
    public void setAccount(String account) {
        this.account = account;
    }

    @Override
    public Long getRole() {
        return role;
    }

    @Override
    public void setRole(Long role) {
        this.role = role;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String getTel() {
        return tel;
    }

    @Override
    public void setTel(String tel) {
        this.tel = tel;
    }

    @Override
    public String getUserPhoto() {
        return userPhoto;
    }

    @Override
    public void setUserPhoto(String userPhoto) {
        this.userPhoto = userPhoto;
    }

    public List<Profession> getProfessions() {
        return professions;
    }

    public void setProfessions(List<Profession> professions) {
        this.professions = professions;
    }
}
